//
//  TendeResultView.m
//  WBBaseProject
//
//  Created by 吴斌 on 2018/4/11.
//  Copyright © 2018年 吴斌. All rights reserved.
//

#import "TendeResultView.h"
#import "ResultSuccView.h"
@implementation TendeResultView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = WB_RGBColor(240, 240, 240);
        [self setupUI];
    }
    return self;
}

- (void)setupUI
{
    ResultSuccView *succView = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([ResultSuccView class])  owner:self options:nil].firstObject;
    succView.isSuccess = YES;
    succView.frame = CGRectMake(0, 0, kScreenWidth, 255);
    [self addSubview:succView];
    
    UILabel *tipLb = [[UILabel alloc] initWithFrame:CGRectMake(20, 265, kScreenWidth, 20)];
    tipLb.text = @"您可能对以下标的感兴趣";
    tipLb.textColor = WB_HEX_COLOR(0x555555);
    tipLb.font = [UIFont systemFontOfSize:14];
    [self addSubview:tipLb];
}

@end
